package com.example.demo.grbkxt.mapper;

import com.example.demo.grbkxt.model.User;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface UserMapper {
    List<User> getAllUsers();

    User getUserById(@Param("id") String id);

    User findByUsername(@Param("username") String username);

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(@Param("id") String id);
}
